package com.imooc.ecommerce.constant;

/**
 * <p>通用模块常量定义
 *
 * @author Yaxi.Zhang
 * @since 2022/11/2 00:50
 */
public final class CommonConstant {
    /**
     * RSA 公钥
     */
    public static final String PUBLIC_KEY = "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAxohhdb4e+DTdvqp2hDGRjDOfw5UCyRuZGcYA8+XHUAOWSM" +
            "Kc+IA4IAkAOdLvkd0DoaTJXz5WtRHL65Qj8AILx0scCsq99Dz2o0R0Hzith34oQEEyhAW1YEZJuDeji9j71kpys1/Sla4Ctyel+d61ROxki/yYzwJ6qTg2SWH+" +
            "VvLb+TiCIH6tuRtAAYZYEAHQBZlC/5/+LVrEY8iW1xwYfmXZ7mUXBYo4KUaU421lIw+N/4Rf8mqlDywoMphZx+Nk1vEDIFb3aAyFeGYw8zkURnz6eR0LO3CJ8b" +
            "BGv8WFyuSRxnT1YsmSOaECaqkZjQI7AfBP5dJDX8rQAt8b+cFENQIDAQAB";

    /**
     * JWT 中存储用户信息的 key
     */
    public static final String JWT_USER_INFO_KEY = "e-commerce-user";

    /**
     * 授权中心的 service-id
     */
    public static final String AUTHORITY_CENTER_SERVICE_ID = "e-commerce-authority-center";
}
